import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";

Vue.config.productionTip = false;

import Vant from "vant";
import "vant/lib/index.css";
Vue.use(Vant);

import axios from "axios";
Vue.prototype.$axios = axios;

import { Dialog } from "vant";
Vue.use(Dialog);
//use的意思就是把这个方法挂载在原型上 作为全局方法使用 用的时候变成this.$dialog

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
